import request from '@/utils/request'

export default {
  getPageList(page,limit,categoryId) {
    return request({
      url: `/eduservice/article/pageArticle/${page}/${limit}?categoryId=${categoryId}`,
      method: 'get',
    })
  },
  getById(articleId){
    return request({
      url: `/eduservice/article/getArticle/${articleId}`,
      method: 'get',
    })
  }
}
